﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.Util.DTO
{
    [NotMapped]
    public class UserOperateLogModel : UserOprateLog
    {
        [NotMapped]
        public int Total { get; set; }
        [NotMapped]
        public string ThumbnailUrl1 { get; set; }
        [NotMapped]
        public string ProductID { get; set; }
        [NotMapped]
        public string ProductName { get; set; }
        [NotMapped]
        public decimal SalePrice { get; set; }   
        [NotMapped]
        public string CreateTimeStr { get {
                return CreateTime.ToString("yyyy-MM-dd HH:mm:ss");
            }
        }
        [NotMapped]
        public string IMGDomain { get; set; }
    }
   
}
